import Http from '@/http';

export function uploadApi(file:File) {
    const formData = new FormData()
    formData.append('file', file)
    return Http.post('api/file/image/upload', formData)
}